<?php
	require_once("includes/overhead.php");
		$professors=null;
		$getProfListQuery=mysql_query("select LastName, FirstName,ID from Professor order by LastName, FirstName");
		header ("Content-Type:text/xml"); 
		print "<Professors>\n";
		while ($row=mysql_fetch_assoc($getProfListQuery)) { 
			print "<Professor>\n<LastName>".$row['LastName']."</LastName>\n<FirstName>".$row['FirstName']."</FirstName>\n</Professor>\n";
		}
		print "</Professors>";
		
?>